home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / x / volume6 / xfig2 / patch5b < prev    next >
Encoding:
Internet Message Format  |  1993-04-28  |  54.5 KB

  1. From: envbvs@epb2.lbl.gov (Brian V. Smith)
  2. Newsgroups: comp.sources.x
  3. Subject: v06i051: xfig 2.0 (part 2/7), Patch5
  4. Message-ID: <133692@sun.Eng.Sun.COM>
  5. Date: 30 Mar 90 04:32:35 GMT
  6. Approved: argv@sun.com
  7.  
  8. Submitted-by: envbvs@epb2.lbl.gov (Brian V. Smith)
  9. Posting-number: Volume 6, Issue 51
  10. Archive-name: xfig2/patch5b
  11. Patch-To: xfig2: Volume 6, Issue 9-24,34-36
  12.  
  13. #! /bin/sh
  14. # This is a shell archive.  Remove anything before this line, then unpack
  15. # it by saving it into a file and typing "sh file".  To overwrite existing
  16. # files, type "sh file -c".  You can also feed this as standard input via
  17. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  18. # will see the following message at the end:
  19. #        "End of archive 2 (of 7)."
  20. # Contents:  CHANGES.diff Imakefile.diff arc.c.diff changestyle.c.diff
  21. #   drag.c.diff ellipse.c.diff f2p.man.diff intspline.c.diff
  22. #   movept.c.diff undo.c.diff xfig.man.diff
  23. # Wrapped by envbvs@epb2.lbl.gov on Wed Mar 28 09:04:39 1990
  24. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  25. if test -f 'CHANGES.diff' -a "${1}" != "-c" ; then 
  26.   echo shar: Will not clobber existing file \"'CHANGES.diff'\"
  27. else
  28. echo shar: Extracting \"'CHANGES.diff'\" \(5172 characters\)
  29. sed "s/^X//" >'CHANGES.diff' <<'END_OF_FILE'
  30. X*** CHANGES.p5    Mon Mar 12 16:20:50 1990
  31. X--- CHANGES    Tue Mar 27 17:20:32 1990
  32. X***************
  33. X*** 1,5
  34. X  Version 2.0 
  35. X  
  36. X  Patchlevel 4
  37. X  Changes from patchlevel 3:
  38. X  
  39. X
  40. X--- 1,30 -----
  41. X  Version 2.0 
  42. X  
  43. X+ Patchlevel 5
  44. X+ Changes from patchlevel 4:
  45. X+ 
  46. X+ o Line widths of zero now allowed for drawing borderless objects
  47. X+ o Resources now parsed in more portable way
  48. X+ o Variable "compound" changed to "cmpnd" in drag.c and search.c because 
  49. X+     SunOs 4.1 has function called compound()
  50. X+ o Unknown "-" options no longer parsed as file name
  51. X+ o Filled areas now drawn opaquely instead of transparently
  52. X+ o Ruler arrows now drawn correctly
  53. X+ o Area fill for rounded corner boxes displays properly
  54. X+ o Lower panel buttons and rulers slightly smaller to allow 9.5 inch tall
  55. X+   canvas in portrait mode on screens that are "only" 864 pixels tall
  56. X+ o Imakefile now uses XawClientDepLibs instead of $(DEPXAWLIB) $(DEPXMUlIB) ...
  57. X+ o -1 for area fill (no fill) in TransFig files handled properly
  58. X+ o u_int defined as uint for SYSV systems
  59. X+ o 'figure_modified' flag cleared when editing new file
  60. X+ o If "save in" is done and there is no current file name, then the
  61. X+   current file name is set to the one specified in the save
  62. X+ o -track default is now True as man entry states
  63. X+ o side panel resource renamed to side_panel
  64. X+ o fixed bug in f2ps where filled arcs weren't filled
  65. X+ o line width and font support for f2p (pic)
  66. X+   Thanks to Dave Davey for these additions
  67. X+ 
  68. X  Patchlevel 4
  69. X  Changes from patchlevel 3:
  70. X  
  71. X***************
  72. X*** 4,9
  73. X  Changes from patchlevel 3:
  74. X  
  75. X  o Bug fixed in drawing zero-length lines with arrows
  76. X  o Portrait/Landscape bug fixed (only appeared on Sun 4)
  77. X  o Fig will not allow edit of new figure without confirmation if
  78. X      current figure has been modified
  79. X
  80. X--- 29,35 -----
  81. X  Changes from patchlevel 3:
  82. X  
  83. X  o Bug fixed in drawing zero-length lines with arrows
  84. X+     Thanks to Dave Davey for this fix
  85. X  o Portrait/Landscape bug fixed (only appeared on Sun 4)
  86. X  o Fig will not allow edit of new figure without confirmation if
  87. X      current figure has been modified
  88. X***************
  89. X*** 14,20
  90. X  o Adds compatibility with Fig 1.4-TFX file format INSTEAD of 1.4X
  91. X    as a compile time option (compiler flag -DTFX).  No change to program
  92. X    as compiled without the -DTFX flag.  See file README.TFX.
  93. X!   Credit goes to Micah Beck for this one.
  94. X  o Fixed bug where scanf was doing %lf for text angle instead of %f
  95. X    in read_textobject()
  96. X  o #include <X11/Scroll.h> put back in fig.h for R3 - XtRFloat is defined here
  97. X
  98. X--- 40,46 -----
  99. X  o Adds compatibility with Fig 1.4-TFX file format INSTEAD of 1.4X
  100. X    as a compile time option (compiler flag -DTFX).  No change to program
  101. X    as compiled without the -DTFX flag.  See file README.TFX.
  102. X!     Credit goes to Micah Beck (beck@cs.cornell.edu) for this one.
  103. X  o Fixed bug where scanf was doing %lf for text angle instead of %f
  104. X    in read_textobject()
  105. X      Thanks to Leroy Hugues (Hugues.Leroy@irisa.fr) for this fix
  106. X***************
  107. X*** 17,22
  108. X    Credit goes to Micah Beck for this one.
  109. X  o Fixed bug where scanf was doing %lf for text angle instead of %f
  110. X    in read_textobject()
  111. X  o #include <X11/Scroll.h> put back in fig.h for R3 - XtRFloat is defined here
  112. X  o XtPointer is only defined in R4 - uses caddr_t for R3 blink() routine
  113. X  o User print to default printer, specify particular printer or print to file
  114. X
  115. X--- 43,49 -----
  116. X      Credit goes to Micah Beck (beck@cs.cornell.edu) for this one.
  117. X  o Fixed bug where scanf was doing %lf for text angle instead of %f
  118. X    in read_textobject()
  119. X+     Thanks to Leroy Hugues (Hugues.Leroy@irisa.fr) for this fix
  120. X  o #include <X11/Scroll.h> put back in fig.h for R3 - XtRFloat is defined here
  121. X  o XtPointer is only defined in R4 - uses caddr_t for R3 blink() routine
  122. X  o Print figure on default printer, specify particular printer or print to file
  123. X***************
  124. X*** 19,25
  125. X    in read_textobject()
  126. X  o #include <X11/Scroll.h> put back in fig.h for R3 - XtRFloat is defined here
  127. X  o XtPointer is only defined in R4 - uses caddr_t for R3 blink() routine
  128. X! o User print to default printer, specify particular printer or print to file
  129. X  o Original FORMAT1.4 file included to compare new 1.4X format with 1.4
  130. X    New file that describes xfig file format is called FORMAT1.4X
  131. X  o Drawing too-narrow ellipses doesn't loop forever anymore, but they
  132. X
  133. X--- 46,53 -----
  134. X      Thanks to Leroy Hugues (Hugues.Leroy@irisa.fr) for this fix
  135. X  o #include <X11/Scroll.h> put back in fig.h for R3 - XtRFloat is defined here
  136. X  o XtPointer is only defined in R4 - uses caddr_t for R3 blink() routine
  137. X! o Print figure on default printer, specify particular printer or print to file
  138. X!     Thanks to Daren Latham (dwl@udev.cdc.com) for this one
  139. X  o Original FORMAT1.4 file included to compare new 1.4X format with 1.4
  140. X    New file that describes xfig file format is called FORMAT1.4X
  141. X  o Drawing too-narrow ellipses doesn't loop forever anymore, but they
  142. X***************
  143. X*** 45,48
  144. X  Changes from patchlevel 0:
  145. X  
  146. X  o included definition of put_msg()/FREE/CFREE in f2ps.c
  147. X- 
  148. X
  149. X--- 73,75 -----
  150. X  Changes from patchlevel 0:
  151. X  
  152. X  o included definition of put_msg()/FREE/CFREE in f2ps.c
  153. END_OF_FILE
  154. if test 5172 -ne `wc -c <'CHANGES.diff'`; then
  155.     echo shar: \"'CHANGES.diff'\" unpacked with wrong size!
  156. fi
  157. # end of 'CHANGES.diff'
  158. fi
  159. if test -f 'Imakefile.diff' -a "${1}" != "-c" ; then 
  160.   echo shar: Will not clobber existing file \"'Imakefile.diff'\"
  161. else
  162. echo shar: Extracting \"'Imakefile.diff'\" \(3944 characters\)
  163. sed "s/^X//" >'Imakefile.diff' <<'END_OF_FILE'
  164. X*** Imakefile.p5    Fri Mar  2 10:46:24 1990
  165. X--- Imakefile    Tue Mar 27 16:05:19 1990
  166. X***************
  167. X*** 1,44 ****
  168. X  SYS_LIBRARIES = -lm
  169. X! SYSAUX_LIBRARIES = -lXaw -lXmu -lXt -lX11
  170. X! DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  171. X  LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
  172. X  
  173. X- SRCS=   addpt.c arc.c arcbox.c arrow.c autoarrow.c\
  174. X-         bitmap.c blink.c bound.c box.c break.c\
  175. X-         canvas.c changestyle.c changetext.c changethick.c \
  176. X-         char.c color.c copy.c cursor.c curve.c\
  177. X-         deletept.c dir.c drag.c draw.c ellipse.c\
  178. X-         file.c flip.c font.c free.c\
  179. X-         geom.c global.c glue.c graphics.c grid.c\
  180. X-         intspline.c latex_line.c line.c list.c\
  181. X-         main.c move.c movept.c msgsw.c\
  182. X-         panel.c popup.c print.c printfonts.c psbits.c psfonts.c puterr.c\
  183. X-         read.c read1_3.c redisplay.c remove.c rotate.c ruler.c\
  184. X-         save.c scale.c search.c spline.c\
  185. X-         text.c trans.c turn.c undo.c util.c xtra.c
  186. X  
  187. X! OBJS=   addpt.o arc.o arcbox.o arrow.o autoarrow.o\
  188. X!         bitmap.o blink.o bound.o box.o break.o\
  189. X!         canvas.o changestyle.o changetext.o changethick.o \
  190. X!         char.o color.o copy.o cursor.o curve.o\
  191. X!         deletept.o dir.o drag.o draw.o ellipse.o\
  192. X!         file.o flip.o font.o free.o\
  193. X!         geom.o global.o glue.o graphics.o grid.o\
  194. X!         intspline.o latex_line.o line.o list.o\
  195. X!         main.o move.o movept.o msgsw.o\
  196. X!         panel.o popup.o print.o printfonts.o psbits.o psfonts.o puterr.o\
  197. X!         read.o read1_3.o redisplay.o remove.o rotate.o ruler.o\
  198. X!         save.o scale.o search.o spline.o\
  199. X!         text.o trans.o turn.o undo.o util.o xtra.o
  200. X  
  201. X! F2PSRC =        arrow.c f2p.c free.c read.c
  202. X! F2POBJ =        arrow.o f2p.o free.o read.o
  203. X  
  204. X  F2PSSRC =       arrow.c bound.c f2ps.c free.c read.c psfonts.c
  205. X  F2PSOBJ =       arrow.o bound.o f2ps.o free.o read.o psfonts.o
  206. X  
  207. X! ComplexProgramTarget(xfig)
  208. X  
  209. X! SingleProgramTarget(f2p,$(F2POBJ),,)
  210. X  
  211. X! SingleProgramTarget(f2ps,$(F2PSOBJ),,)
  212. X--- 1,49 ----
  213. X  SYS_LIBRARIES = -lm
  214. X! DEPLIBS = XawClientDepLibs
  215. X  LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
  216. X  
  217. X  
  218. X! XFIGSRC =    addpt.c arc.c arcbox.c arrow.c autoarrow.c bitmap.c\
  219. X!         blink.c bound.c box.c break.c canvas.c changestyle.c\
  220. X!         changetext.c changethick.c  char.c color.c copy.c\
  221. X!         cursor.c curve.c deletept.c dir.c drag.c draw.c\
  222. X!         ellipse.c file.c flip.c font.c free.c geom.c\
  223. X!         global.c glue.c graphics.c grid.c intspline.c\
  224. X!         latex_line.c line.c list.c main.c move.c movept.c\
  225. X!         msgsw.c panel.c popup.c print.c printfonts.c psbits.c\
  226. X!         psfonts.c puterr.c read.c read1_3.c redisplay.c\
  227. X!         remove.c rotate.c ruler.c save.c scale.c search.c\
  228. X!         spline.c text.c trans.c turn.c undo.c util.c xtra.c
  229. X  
  230. X! XFIGOBJ =    addpt.o arc.o arcbox.o arrow.o autoarrow.o bitmap.o\
  231. X!         blink.o bound.o box.o break.o canvas.o changestyle.o\
  232. X!         changetext.o changethick.o char.o color.o copy.o\
  233. X!         cursor.o curve.o deletept.o dir.o drag.o draw.o\
  234. X!         ellipse.o file.o flip.o font.o free.o geom.o global.o\
  235. X!         glue.o graphics.o grid.o intspline.o latex_line.o\
  236. X!         line.o list.o main.o move.o movept.o msgsw.o panel.o\
  237. X!         popup.o print.o printfonts.o psbits.o psfonts.o\
  238. X!         puterr.o read.o read1_3.o redisplay.o remove.o\
  239. X!         rotate.o ruler.o save.o scale.o search.o spline.o\
  240. X!         text.o trans.o turn.o undo.o util.o xtra.o
  241. X  
  242. X+ F2PSRC =        arrow.c f2p.c free.c read.c troff_fonts.c psfonts.c
  243. X+ F2POBJ =        arrow.o f2p.o free.o read.o troff_fonts.o psfonts.o
  244. X+ 
  245. X  F2PSSRC =       arrow.c bound.c f2ps.c free.c read.c psfonts.c
  246. X  F2PSOBJ =       arrow.o bound.o f2ps.o free.o read.o psfonts.o
  247. X  
  248. X! SRCS1 = $(XFIGSRC)
  249. X! OBJS1 = $(XFIGOBJ)
  250. X! SRCS2 = $(F2PSRC)
  251. X! OBJS2 = $(F2POBJ)
  252. X! SRCS3 = $(F2PSSRC)
  253. X! OBJS3 = $(F2PSOBJ)
  254. X  
  255. X! PROGRAMS = xfig f2p f2ps
  256. X  
  257. X! ComplexProgramTarget_1(xfig,$(LOCAL_LIBRARIES),)
  258. X! 
  259. X! ComplexProgramTarget_2(f2p,,)
  260. X! 
  261. X! ComplexProgramTarget_3(f2ps,,)
  262. END_OF_FILE
  263. if test 3944 -ne `wc -c <'Imakefile.diff'`; then
  264.     echo shar: \"'Imakefile.diff'\" unpacked with wrong size!
  265. fi
  266. # end of 'Imakefile.diff'
  267. fi
  268. if test -f 'arc.c.diff' -a "${1}" != "-c" ; then 
  269.   echo shar: Will not clobber existing file \"'arc.c.diff'\"
  270. else
  271. echo shar: Extracting \"'arc.c.diff'\" \(3274 characters\)
  272. sed "s/^X//" >'arc.c.diff' <<'END_OF_FILE'
  273. X*** arc.c.p5    Tue Jan 16 17:21:02 1990
  274. X--- arc.c    Sat Mar 17 13:32:21 1990
  275. X***************
  276. X*** 20,26 ****
  277. X  extern int        fix_x, fix_y, cur_x, cur_y;
  278. X  
  279. X  extern int        autoforwardarrow_mode, autobackwardarrow_mode;
  280. X! extern int        cur_line_style, line_thickness;
  281. X  extern float        cur_styleval;
  282. X  extern int        cur_color;
  283. X  extern int        cur_areafill;
  284. X--- 20,26 ----
  285. X  extern int        fix_x, fix_y, cur_x, cur_y;
  286. X  
  287. X  extern int        autoforwardarrow_mode, autobackwardarrow_mode;
  288. X! extern int        line_style, line_thickness;
  289. X  extern float        cur_styleval;
  290. X  extern int        cur_color;
  291. X  extern int        cur_areafill;
  292. X***************
  293. X*** 27,34 ****
  294. X  extern int        fill_mode;
  295. X  extern float        cur_dashlength;
  296. X  extern int        num_point;
  297. X- extern int        DEBUG;
  298. X  extern F_compound    objects;
  299. X  
  300. X  extern            freehand_elasticline();
  301. X  extern            (*canvas_kbd_proc)();
  302. X--- 27,34 ----
  303. X  extern int        fill_mode;
  304. X  extern float        cur_dashlength;
  305. X  extern int        num_point;
  306. X  extern F_compound    objects;
  307. X+ extern appresStruct    appres;
  308. X  
  309. X  extern            freehand_elasticline();
  310. X  extern            (*canvas_kbd_proc)();
  311. X***************
  312. X*** 111,117 ****
  313. X      x = point[0].x;  y = point[0].y;
  314. X      for (i = 1; i < num_point; i++) {
  315. X          pw_vector(canvas_pixwin, x, y, point[i].x, point[i].y, INV_PAINT,
  316. X!             1);
  317. X          x = point[i].x;  y = point[i].y;
  318. X          }
  319. X      if (num_point < 3) {
  320. X--- 111,117 ----
  321. X      x = point[0].x;  y = point[0].y;
  322. X      for (i = 1; i < num_point; i++) {
  323. X          pw_vector(canvas_pixwin, x, y, point[i].x, point[i].y, INV_PAINT,
  324. X!             1, SOLID_LINE, 0.0);
  325. X          x = point[i].x;  y = point[i].y;
  326. X          }
  327. X      if (num_point < 3) {
  328. X***************
  329. X*** 130,136 ****
  330. X          return;
  331. X          }
  332. X      arc->type = T_3_POINTS_ARC;
  333. X!     arc->style = cur_line_style;
  334. X      arc->thickness = line_thickness;
  335. X      arc->style_val = cur_styleval;
  336. X      arc->pen = NULL;
  337. X--- 130,136 ----
  338. X          return;
  339. X          }
  340. X      arc->type = T_3_POINTS_ARC;
  341. X!     arc->style = line_style;
  342. X      arc->thickness = line_thickness;
  343. X      arc->style_val = cur_styleval;
  344. X      arc->pen = NULL;
  345. X***************
  346. X*** 156,169 ****
  347. X      arc->point[2].x = point[2].x;
  348. X      arc->point[2].y = point[2].y;
  349. X      arc->next = NULL;
  350. X-     pw_batch_on(canvas_pixwin);
  351. X      draw_arc(arc, foreground_color);
  352. X!     if (DEBUG) {
  353. X          int        xmin, ymin, xmax, ymax;
  354. X          arc_bound(arc, &xmin, &ymin, &xmax, &ymax);
  355. X!         draw_rectbox(xmin, ymin, xmax, ymax, PAINT, 1);
  356. X          }
  357. X-     pw_batch_off(canvas_pixwin);
  358. X      clean_up();
  359. X      set_action_object(F_CREATE, O_ARC);
  360. X      insert_arc(&objects.arcs, arc);
  361. X--- 156,167 ----
  362. X      arc->point[2].x = point[2].x;
  363. X      arc->point[2].y = point[2].y;
  364. X      arc->next = NULL;
  365. X      draw_arc(arc, foreground_color);
  366. X!     if (appres.DEBUG) {
  367. X          int        xmin, ymin, xmax, ymax;
  368. X          arc_bound(arc, &xmin, &ymin, &xmax, &ymax);
  369. X!         draw_rectbox(xmin, ymin, xmax, ymax, PAINT);
  370. X          }
  371. X      clean_up();
  372. X      set_action_object(F_CREATE, O_ARC);
  373. X      insert_arc(&objects.arcs, arc);
  374. X***************
  375. X*** 186,192 ****
  376. X          round(a->center.y - a->point[2].y),
  377. X          a->direction, 1, 1,
  378. X          round(a->center.x), round(a->center.y), op,
  379. X!         a->thickness, a->area_fill);
  380. X      draw_arcarrow(a, op);
  381. X      }
  382. X  
  383. X--- 184,190 ----
  384. X          round(a->center.y - a->point[2].y),
  385. X          a->direction, 1, 1,
  386. X          round(a->center.x), round(a->center.y), op,
  387. X!         a->thickness, a->style, a->style_val, a->area_fill);
  388. X      draw_arcarrow(a, op);
  389. X      }
  390. X  
  391. END_OF_FILE
  392. if test 3274 -ne `wc -c <'arc.c.diff'`; then
  393.     echo shar: \"'arc.c.diff'\" unpacked with wrong size!
  394. fi
  395. # end of 'arc.c.diff'
  396. fi
  397. if test -f 'changestyle.c.diff' -a "${1}" != "-c" ; then 
  398.   echo shar: Will not clobber existing file \"'changestyle.c.diff'\"
  399. else
  400. echo shar: Extracting \"'changestyle.c.diff'\" \(3600 characters\)
  401. sed "s/^X//" >'changestyle.c.diff' <<'END_OF_FILE'
  402. X*** changestyle.c.p5    Tue Jan 16 17:22:14 1990
  403. X--- changestyle.c    Fri Mar 16 14:20:23 1990
  404. X***************
  405. X*** 33,39 ****
  406. X  
  407. X  extern int        foreground_color, background_color;
  408. X  extern int        compoundbox_shown;
  409. X! extern int        cur_line_style;
  410. X  extern float        cur_styleval;
  411. X  
  412. X  extern             change_style();
  413. X--- 33,39 ----
  414. X  
  415. X  extern int        foreground_color, background_color;
  416. X  extern int        compoundbox_shown;
  417. X! extern int        line_style;
  418. X  extern float        cur_styleval;
  419. X  
  420. X  extern             change_style();
  421. X***************
  422. X*** 63,69 ****
  423. X      if ((l = line_search(x, y, TOLERANCE, &px, &py)) != NULL) {
  424. X          win_setmouseposition(canvas_swfd, px, py);
  425. X          draw_line(l, ERASE);
  426. X!         l->style = cur_line_style;
  427. X          l->style_val = cur_styleval;
  428. X          draw_line(l, PAINT);
  429. X          clean_up();
  430. X--- 63,69 ----
  431. X      if ((l = line_search(x, y, TOLERANCE, &px, &py)) != NULL) {
  432. X          win_setmouseposition(canvas_swfd, px, py);
  433. X          draw_line(l, ERASE);
  434. X!         l->style = line_style;
  435. X          l->style_val = cur_styleval;
  436. X          draw_line(l, PAINT);
  437. X          clean_up();
  438. X***************
  439. X*** 73,84 ****
  440. X          }
  441. X      else if ((e = ellipse_search(x, y, TOLERANCE, &px, &py)) != NULL) {
  442. X          win_setmouseposition(canvas_swfd, px, py);
  443. X-         pw_batch_on(canvas_pixwin);
  444. X          draw_ellipse(e, background_color);
  445. X!         e->style = cur_line_style;
  446. X          e->style_val = cur_styleval;
  447. X          draw_ellipse(e, foreground_color);
  448. X-         pw_batch_off(canvas_pixwin);
  449. X          clean_up();
  450. X          set_action_object(F_CHANGE_STYLE, O_ELLIPSE);
  451. X          set_latestellipse(e);
  452. X--- 73,82 ----
  453. X          }
  454. X      else if ((e = ellipse_search(x, y, TOLERANCE, &px, &py)) != NULL) {
  455. X          win_setmouseposition(canvas_swfd, px, py);
  456. X          draw_ellipse(e, background_color);
  457. X!         e->style = line_style;
  458. X          e->style_val = cur_styleval;
  459. X          draw_ellipse(e, foreground_color);
  460. X          clean_up();
  461. X          set_action_object(F_CHANGE_STYLE, O_ELLIPSE);
  462. X          set_latestellipse(e);
  463. X***************
  464. X*** 86,97 ****
  465. X          }
  466. X      else if ((a = arc_search(x, y, TOLERANCE, &px, &py)) != NULL) {
  467. X          win_setmouseposition(canvas_swfd, px, py);
  468. X-         pw_batch_on(canvas_pixwin);
  469. X          draw_arc(a, background_color);
  470. X!         a->style = cur_line_style;
  471. X          a->style_val = cur_styleval;
  472. X          draw_arc(a, foreground_color);
  473. X-         pw_batch_off(canvas_pixwin);
  474. X          clean_up();
  475. X          set_action_object(F_CHANGE_STYLE, O_ARC);
  476. X          set_latestarc(a);
  477. X--- 84,93 ----
  478. X          }
  479. X      else if ((a = arc_search(x, y, TOLERANCE, &px, &py)) != NULL) {
  480. X          win_setmouseposition(canvas_swfd, px, py);
  481. X          draw_arc(a, background_color);
  482. X!         a->style = line_style;
  483. X          a->style_val = cur_styleval;
  484. X          draw_arc(a, foreground_color);
  485. X          clean_up();
  486. X          set_action_object(F_CHANGE_STYLE, O_ARC);
  487. X          set_latestarc(a);
  488. X***************
  489. X*** 99,110 ****
  490. X          }
  491. X      else if ((s = spline_search(x, y, TOLERANCE, &px, &py)) != NULL) {
  492. X          win_setmouseposition(canvas_swfd, px, py);
  493. X-         pw_batch_on(canvas_pixwin);
  494. X          draw_spline(s, ERASE);
  495. X!         s->style = cur_line_style;
  496. X          s->style_val = cur_styleval;
  497. X          draw_spline(s, PAINT);
  498. X-         pw_batch_off(canvas_pixwin);
  499. X          clean_up();
  500. X          set_action_object(F_CHANGE_STYLE, O_SPLINE);
  501. X          set_latestspline(s);
  502. X--- 95,104 ----
  503. X          }
  504. X      else if ((s = spline_search(x, y, TOLERANCE, &px, &py)) != NULL) {
  505. X          win_setmouseposition(canvas_swfd, px, py);
  506. X          draw_spline(s, ERASE);
  507. X!         s->style = line_style;
  508. X          s->style_val = cur_styleval;
  509. X          draw_spline(s, PAINT);
  510. X          clean_up();
  511. X          set_action_object(F_CHANGE_STYLE, O_SPLINE);
  512. X          set_latestspline(s);
  513. END_OF_FILE
  514. if test 3600 -ne `wc -c <'changestyle.c.diff'`; then
  515.     echo shar: \"'changestyle.c.diff'\" unpacked with wrong size!
  516. fi
  517. # end of 'changestyle.c.diff'
  518. fi
  519. if test -f 'drag.c.diff' -a "${1}" != "-c" ; then 
  520.   echo shar: Will not clobber existing file \"'drag.c.diff'\"
  521. else
  522. echo shar: Extracting \"'drag.c.diff'\" \(4181 characters\)
  523. sed "s/^X//" >'drag.c.diff' <<'END_OF_FILE'
  524. X*** drag.c.p5    Tue Jan 16 17:21:04 1990
  525. X--- drag.c    Sat Mar 17 13:33:29 1990
  526. X***************
  527. X*** 38,44 ****
  528. X               place_compound();
  529. X  
  530. X  static F_arc        *arc;
  531. X! static F_compound    *compound;
  532. X  static F_ellipse    *ellipse;
  533. X  static F_line        *line;
  534. X  static F_spline        *spline;
  535. X--- 38,44 ----
  536. X               place_compound();
  537. X  
  538. X  static F_arc        *arc;
  539. X! static F_compound    *cmpnd;
  540. X  static F_ellipse    *ellipse;
  541. X  static F_line        *line;
  542. X  static F_spline        *spline;
  543. X***************
  544. X*** 54,63 ****
  545. X      x2 = cur_x + x2off;
  546. X      y1 = cur_y + y1off;
  547. X      y2 = cur_y + y2off;
  548. X!     pw_vector(canvas_pixwin, x1, y1, x1, y2, op, 1);
  549. X!     pw_vector(canvas_pixwin, x1, y2, x2, y2, op, 1);
  550. X!     pw_vector(canvas_pixwin, x2, y2, x2, y1, op, 1);
  551. X!     pw_vector(canvas_pixwin, x2, y1, x1, y1, op, 1);
  552. X      }
  553. X  
  554. X  move_movingbox(x, y)
  555. X--- 54,60 ----
  556. X      x2 = cur_x + x2off;
  557. X      y1 = cur_y + y1off;
  558. X      y2 = cur_y + y2off;
  559. X!     draw_rectbox(x1, y1, x2, y2, op);
  560. X      }
  561. X  
  562. X  move_movingbox(x, y)
  563. X***************
  564. X*** 95,103 ****
  565. X      new_position.x = x;
  566. X      new_position.y = y;
  567. X      translate_ellipse(ellipse, x - last_position.x, y - last_position.y);
  568. X-     pw_batch_on(canvas_pixwin);
  569. X      draw_ellipse(ellipse, foreground_color);
  570. X-     pw_batch_off(canvas_pixwin);
  571. X      show_pointmarker();
  572. X      set_modifiedflag();
  573. X      (*return_proc)();
  574. X--- 92,98 ----
  575. X***************
  576. X*** 134,142 ****
  577. X      new_position.x = x;
  578. X      new_position.y = y;
  579. X      translate_arc(arc, x - fix_x, y - fix_y);
  580. X-     pw_batch_on(canvas_pixwin);
  581. X      draw_arc(arc, foreground_color);
  582. X-     pw_batch_off(canvas_pixwin);
  583. X      show_pointmarker();
  584. X      set_modifiedflag();
  585. X      (*return_proc)();
  586. X--- 129,135 ----
  587. X***************
  588. X*** 151,159 ****
  589. X      dx = cur_x - fix_x;
  590. X      dy = cur_y - fix_y;
  591. X      pw_vector(canvas_pixwin, a->point[0].x+dx, a->point[0].y+dy,
  592. X!         a->point[1].x+dx, a->point[1].y+dy, op, 1);
  593. X      pw_vector(canvas_pixwin, a->point[1].x+dx, a->point[1].y+dy,
  594. X!         a->point[2].x+dx, a->point[2].y+dy, op, 1);
  595. X      }
  596. X  
  597. X  /*************************  line  section  **********************/
  598. X--- 144,152 ----
  599. X      dx = cur_x - fix_x;
  600. X      dy = cur_y - fix_y;
  601. X      pw_vector(canvas_pixwin, a->point[0].x+dx, a->point[0].y+dy,
  602. X!         a->point[1].x+dx, a->point[1].y+dy, op, 1, SOLID_LINE, 0.0);
  603. X      pw_vector(canvas_pixwin, a->point[1].x+dx, a->point[1].y+dy,
  604. X!         a->point[2].x+dx, a->point[2].y+dy, op, 1, SOLID_LINE, 0.0);
  605. X      }
  606. X  
  607. X  /*************************  line  section  **********************/
  608. X***************
  609. X*** 207,215 ****
  610. X      y = p->y + dy;
  611. X      for (p = p->next; p != NULL; x = xx, y = yy, p = p->next) {
  612. X          xx = p->x + dx;  yy = p->y +dy;
  613. X!         pw_vector(canvas_pixwin, x, y, xx, yy, op, 1);
  614. X          }
  615. X!         }
  616. X  
  617. X  /************************  text section  **************************/
  618. X  
  619. X--- 200,208 ----
  620. X      y = p->y + dy;
  621. X      for (p = p->next; p != NULL; x = xx, y = yy, p = p->next) {
  622. X          xx = p->x + dx;  yy = p->y +dy;
  623. X!         pw_vector(canvas_pixwin, x, y, xx, yy, op, 1, SOLID_LINE, 0.0);
  624. X          }
  625. X! }
  626. X  
  627. X  /************************  text section  **************************/
  628. X  
  629. X***************
  630. X*** 304,312 ****
  631. X      translate_spline(spline, x - fix_x, y - fix_y);
  632. X      new_position.x = x;
  633. X      new_position.y = y;
  634. X-     pw_batch_on(canvas_pixwin);
  635. X      draw_spline(spline, PAINT);
  636. X-     pw_batch_off(canvas_pixwin);
  637. X      show_pointmarker();
  638. X      set_modifiedflag();
  639. X      (*return_proc)();
  640. X--- 297,303 ----
  641. X***************
  642. X*** 318,324 ****
  643. X  F_compound    *c;
  644. X  int        x, y;
  645. X  {
  646. X!     compound = c;
  647. X      last_position.x = cur_x = x; 
  648. X      last_position.y = cur_y = y;
  649. X      x1off = c->nwcorner.x - x;
  650. X--- 309,315 ----
  651. X  F_compound    *c;
  652. X  int        x, y;
  653. X  {
  654. X!     cmpnd = c;
  655. X      last_position.x = cur_x = x; 
  656. X      last_position.y = cur_y = y;
  657. X      x1off = c->nwcorner.x - x;
  658. X***************
  659. X*** 337,345 ****
  660. X      draw_movingbox(INV_PAINT);
  661. X      new_position.x = x;
  662. X      new_position.y = y;
  663. X!     translate_compound(compound, x - last_position.x, y - last_position.y);
  664. X!     draw_compound(compound);
  665. X!     draw_compoundbox(compound, INV_PAINT);
  666. X      set_modifiedflag();
  667. X      (*return_proc)();
  668. X      }
  669. X--- 328,336 ----
  670. X      draw_movingbox(INV_PAINT);
  671. X      new_position.x = x;
  672. X      new_position.y = y;
  673. X!     translate_compound(cmpnd, x - last_position.x, y - last_position.y);
  674. X!     draw_compound(cmpnd);
  675. X!     draw_compoundbox(cmpnd, INV_PAINT);
  676. X      set_modifiedflag();
  677. X      (*return_proc)();
  678. X      }
  679. END_OF_FILE
  680. if test 4181 -ne `wc -c <'drag.c.diff'`; then
  681.     echo shar: \"'drag.c.diff'\" unpacked with wrong size!
  682. fi
  683. # end of 'drag.c.diff'
  684. fi
  685. if test -f 'ellipse.c.diff' -a "${1}" != "-c" ; then 
  686.   echo shar: Will not clobber existing file \"'ellipse.c.diff'\"
  687. else
  688. echo shar: Extracting \"'ellipse.c.diff'\" \(5916 characters\)
  689. sed "s/^X//" >'ellipse.c.diff' <<'END_OF_FILE'
  690. X*** ellipse.c.p5    Tue Jan 16 17:21:05 1990
  691. X--- ellipse.c    Sat Mar 17 13:33:46 1990
  692. X***************
  693. X*** 14,20 ****
  694. X  #include "object.h"
  695. X  #include "paintop.h"
  696. X  
  697. X! extern int        cur_line_style, line_thickness;
  698. X  extern float        cur_styleval;
  699. X  extern float        cur_angle;
  700. X  extern int        cur_color;
  701. X--- 14,20 ----
  702. X  #include "object.h"
  703. X  #include "paintop.h"
  704. X  
  705. X! extern int        line_style, line_thickness;
  706. X  extern float        cur_styleval;
  707. X  extern float        cur_angle;
  708. X  extern int        cur_color;
  709. X***************
  710. X*** 50,57 ****
  711. X  center_marker(x, y)
  712. X  int    x, y;
  713. X  {
  714. X!     pw_vector(canvas_pixwin, x, y-2, x, y+2, INV_PAINT, 1);
  715. X!     pw_vector(canvas_pixwin, x-2, y, x+2, y, INV_PAINT, 1);
  716. X      }
  717. X  
  718. X  ellipsebyradius_drawing_selected()
  719. X--- 50,57 ----
  720. X  center_marker(x, y)
  721. X  int    x, y;
  722. X  {
  723. X!     pw_vector(canvas_pixwin, x, y-2, x, y+2, INV_PAINT, 1, SOLID_LINE, 0.0);
  724. X!     pw_vector(canvas_pixwin, x-2, y, x+2, y, INV_PAINT, 1, SOLID_LINE, 0.0);
  725. X      }
  726. X  
  727. X  ellipsebyradius_drawing_selected()
  728. X***************
  729. X*** 100,106 ****
  730. X      x2 = fix_x - rx;
  731. X      y1 = fix_y + ry;
  732. X      y2 = fix_y - ry;
  733. X!     draw_rectbox(x1, y1, x2, y2, op, 1);
  734. X      }
  735. X  
  736. X  create_ellipsebyrad(x, y)
  737. X--- 100,106 ----
  738. X      x2 = fix_x - rx;
  739. X      y1 = fix_y + ry;
  740. X      y2 = fix_y - ry;
  741. X!     draw_rectbox(x1, y1, x2, y2, op);
  742. X      }
  743. X  
  744. X  create_ellipsebyrad(x, y)
  745. X***************
  746. X*** 116,122 ****
  747. X          return;
  748. X          }
  749. X      ellipse->type = T_ELLIPSE_BY_RAD;
  750. X!     ellipse->style = cur_line_style;
  751. X      ellipse->thickness = line_thickness;
  752. X      ellipse->style_val = cur_styleval;
  753. X      ellipse->angle = cur_angle;
  754. X--- 116,122 ----
  755. X          return;
  756. X          }
  757. X      ellipse->type = T_ELLIPSE_BY_RAD;
  758. X!     ellipse->style = line_style;
  759. X      ellipse->thickness = line_thickness;
  760. X      ellipse->style_val = cur_styleval;
  761. X      ellipse->angle = cur_angle;
  762. X***************
  763. X*** 135,143 ****
  764. X      ellipse->end.x = x;
  765. X      ellipse->end.y = y;
  766. X      ellipse->next = NULL;
  767. X-     pw_batch_on(canvas_pixwin);
  768. X      draw_ellipse(ellipse, DRAW);
  769. X-     pw_batch_off(canvas_pixwin);
  770. X      clean_up();
  771. X      set_action_object(F_CREATE, O_ELLIPSE);
  772. X      insert_ellipse(&objects.ellipses, ellipse);
  773. X--- 135,141 ----
  774. X***************
  775. X*** 183,189 ****
  776. X  ellipsebydia_box(op)
  777. X  int    op;
  778. X  {
  779. X!     draw_rectbox(fix_x, fix_y, cur_x, cur_y, op, 1);
  780. X      }
  781. X  
  782. X  create_ellipsebydia(x, y)
  783. X--- 181,187 ----
  784. X  ellipsebydia_box(op)
  785. X  int    op;
  786. X  {
  787. X!     draw_rectbox(fix_x, fix_y, cur_x, cur_y, op);
  788. X      }
  789. X  
  790. X  create_ellipsebydia(x, y)
  791. X***************
  792. X*** 199,205 ****
  793. X          return;
  794. X          }
  795. X      ellipse->type = T_ELLIPSE_BY_DIA;
  796. X!     ellipse->style = cur_line_style;
  797. X      ellipse->thickness = line_thickness;
  798. X      ellipse->style_val = cur_styleval;
  799. X      ellipse->angle = cur_angle;
  800. X--- 197,203 ----
  801. X          return;
  802. X          }
  803. X      ellipse->type = T_ELLIPSE_BY_DIA;
  804. X!     ellipse->style = line_style;
  805. X      ellipse->thickness = line_thickness;
  806. X      ellipse->style_val = cur_styleval;
  807. X      ellipse->angle = cur_angle;
  808. X***************
  809. X*** 218,226 ****
  810. X      ellipse->end.x = x;
  811. X      ellipse->end.y = y;
  812. X      ellipse->next = NULL;
  813. X-     pw_batch_on(canvas_pixwin);
  814. X      draw_ellipse(ellipse, DRAW);
  815. X-     pw_batch_off(canvas_pixwin);
  816. X      clean_up();
  817. X      set_action_object(F_CREATE, O_ELLIPSE);
  818. X      insert_ellipse(&objects.ellipses, ellipse);
  819. X--- 216,222 ----
  820. X***************
  821. X*** 278,285 ****
  822. X      x2 = fix_x - radius;
  823. X      y1 = fix_y + radius;
  824. X      y2 = fix_y - radius;
  825. X!     draw_rectbox(x1, y1, x2, y2, op, 1);
  826. X!     pw_vector(canvas_pixwin, fix_x, fix_y, cur_x, cur_y, op, 1);
  827. X      }
  828. X  
  829. X  create_circlebyrad(x, y)
  830. X--- 274,281 ----
  831. X      x2 = fix_x - radius;
  832. X      y1 = fix_y + radius;
  833. X      y2 = fix_y - radius;
  834. X!     draw_rectbox(x1, y1, x2, y2, op);
  835. X!     pw_vector(canvas_pixwin, fix_x, fix_y, cur_x, cur_y, op, 1, SOLID_LINE, 0.0);
  836. X      }
  837. X  
  838. X  create_circlebyrad(x, y)
  839. X***************
  840. X*** 296,302 ****
  841. X          return;
  842. X          }
  843. X      c->type = T_CIRCLE_BY_RAD;
  844. X!     c->style = cur_line_style;
  845. X      c->thickness = line_thickness;
  846. X      c->style_val = cur_styleval;
  847. X      c->angle = 0.0;
  848. X--- 292,298 ----
  849. X          return;
  850. X          }
  851. X      c->type = T_CIRCLE_BY_RAD;
  852. X!     c->style = line_style;
  853. X      c->thickness = line_thickness;
  854. X      c->style_val = cur_styleval;
  855. X      c->angle = 0.0;
  856. X***************
  857. X*** 315,323 ****
  858. X      c->end.x = x;
  859. X      c->end.y = y;
  860. X      c->next = NULL;
  861. X-     pw_batch_on(canvas_pixwin);
  862. X      draw_ellipse(c, DRAW);
  863. X-     pw_batch_off(canvas_pixwin);
  864. X      clean_up();
  865. X      set_action_object(F_CREATE, O_ELLIPSE);
  866. X      insert_ellipse(&objects.ellipses, c);
  867. X--- 311,317 ----
  868. X***************
  869. X*** 373,380 ****
  870. X      x2 = fix_x + rx - radius;
  871. X      y1 = fix_y + ry + radius;
  872. X      y2 = fix_y + ry - radius;
  873. X!     draw_rectbox(x1, y1, x2, y2, op, 1);
  874. X!     pw_vector(canvas_pixwin, fix_x, fix_y, cur_x, cur_y, op, 1);
  875. X      }
  876. X  
  877. X  create_circlebydia(x, y)
  878. X--- 367,374 ----
  879. X      x2 = fix_x + rx - radius;
  880. X      y1 = fix_y + ry + radius;
  881. X      y2 = fix_y + ry - radius;
  882. X!     draw_rectbox(x1, y1, x2, y2, op);
  883. X!     pw_vector(canvas_pixwin, fix_x, fix_y, cur_x, cur_y, op, 1, SOLID_LINE, 0.0);
  884. X      }
  885. X  
  886. X  create_circlebydia(x, y)
  887. X***************
  888. X*** 391,397 ****
  889. X          return;
  890. X          }
  891. X      c->type = T_CIRCLE_BY_DIA;
  892. X!     c->style = cur_line_style;
  893. X      c->thickness = line_thickness;
  894. X      c->style_val = cur_styleval;
  895. X      c->angle = 0.0;
  896. X--- 385,391 ----
  897. X          return;
  898. X          }
  899. X      c->type = T_CIRCLE_BY_DIA;
  900. X!     c->style = line_style;
  901. X      c->thickness = line_thickness;
  902. X      c->style_val = cur_styleval;
  903. X      c->angle = 0.0;
  904. X***************
  905. X*** 410,418 ****
  906. X      c->end.x = x;
  907. X      c->end.y = y;
  908. X      c->next = NULL;
  909. X-     pw_batch_on(canvas_pixwin);
  910. X      draw_ellipse(c, DRAW);
  911. X-     pw_batch_off(canvas_pixwin);
  912. X      clean_up();
  913. X      set_action_object(F_CREATE, O_ELLIPSE);
  914. X      insert_ellipse(&objects.ellipses, c);
  915. X--- 404,410 ----
  916. X***************
  917. X*** 430,434 ****
  918. X      a = e->radiuses.x;
  919. X      b = e->radiuses.y;
  920. X      curve(canvas_pixwin, a, 0, a, 0, e->direction, (b*b), (a*a), 
  921. X!         e->center.x, e->center.y, op, e->thickness, e->area_fill);
  922. X      }
  923. X--- 422,427 ----
  924. X      a = e->radiuses.x;
  925. X      b = e->radiuses.y;
  926. X      curve(canvas_pixwin, a, 0, a, 0, e->direction, (b*b), (a*a), 
  927. X!         e->center.x, e->center.y, op, 
  928. X!         e->thickness, e->style, e->style_val, e->area_fill);
  929. X      }
  930. END_OF_FILE
  931. if test 5916 -ne `wc -c <'ellipse.c.diff'`; then
  932.     echo shar: \"'ellipse.c.diff'\" unpacked with wrong size!
  933. fi
  934. # end of 'ellipse.c.diff'
  935. fi
  936. if test -f 'f2p.man.diff' -a "${1}" != "-c" ; then 
  937.   echo shar: Will not clobber existing file \"'f2p.man.diff'\"
  938. else
  939. echo shar: Extracting \"'f2p.man.diff'\" \(4627 characters\)
  940. sed "s/^X//" >'f2p.man.diff' <<'END_OF_FILE'
  941. X*** f2p.man.p5    Tue Jan 16 17:21:05 1990
  942. X--- f2p.man    Tue Mar 27 08:22:47 1990
  943. X***************
  944. X*** 1,4
  945. X! .TH F2P 1 "29 March 1988"
  946. X  .SH NAME
  947. X  f2p \- translates fig output into pic language
  948. X  .SH SYNOPSIS
  949. X
  950. X--- 1,4 -----
  951. X! .TH F2P 1 "12 March 1990"
  952. X  .SH NAME
  953. X  f2p \- translates fig output into pic language
  954. X  .SH SYNOPSIS
  955. X***************
  956. X*** 3,9
  957. X  f2p \- translates fig output into pic language
  958. X  .SH SYNOPSIS
  959. X  .B f2p
  960. X! [-s font_size] [ input_file [ output_file ] ]
  961. X  .SH DESCRIPTION
  962. X  .I F2p
  963. X  translates fig objects in the named
  964. X
  965. X--- 3,9 -----
  966. X  f2p \- translates fig output into pic language
  967. X  .SH SYNOPSIS
  968. X  .B f2p
  969. X! [ -f font_file ] [ input_file [ output_file ] ]
  970. X  .SH DESCRIPTION
  971. X  .I F2p
  972. X  translates fig objects in the named
  973. X***************
  974. X*** 8,14
  975. X  .I F2p
  976. X  translates fig objects in the named
  977. X  .I input_file
  978. X! into pic language and put them in
  979. X  .I output_file.
  980. X  If only one file name is presented, it is assumed to be the input file
  981. X  (fig output file). The output file
  982. X
  983. X--- 8,14 -----
  984. X  .I F2p
  985. X  translates fig objects in the named
  986. X  .I input_file
  987. X! into pic language and puts them in
  988. X  .I output_file.
  989. X  If only one file name is present, it is assumed to be the input file
  990. X  (fig output file).
  991. X***************
  992. X*** 10,17
  993. X  .I input_file
  994. X  into pic language and put them in
  995. X  .I output_file.
  996. X! If only one file name is presented, it is assumed to be the input file
  997. X! (fig output file). The output file
  998. X  .I (pic_file), 
  999. X  if not presented, will be the stdout.
  1000. X  If the 
  1001. X
  1002. X--- 10,18 -----
  1003. X  .I input_file
  1004. X  into pic language and puts them in
  1005. X  .I output_file.
  1006. X! If only one file name is present, it is assumed to be the input file
  1007. X! (fig output file).
  1008. X! The output file
  1009. X  .I (pic_file), 
  1010. X  if not present, will be the stdout.
  1011. X  If the 
  1012. X***************
  1013. X*** 13,19
  1014. X  If only one file name is presented, it is assumed to be the input file
  1015. X  (fig output file). The output file
  1016. X  .I (pic_file), 
  1017. X! if not presented, will be the stdout.
  1018. X  If the 
  1019. X  .I input_file 
  1020. X  is not presented, input will be assumed to come from the stdin.
  1021. X
  1022. X--- 14,20 -----
  1023. X  (fig output file).
  1024. X  The output file
  1025. X  .I (pic_file), 
  1026. X! if not present, will be the stdout.
  1027. X  If the 
  1028. X  .I input_file 
  1029. X  is not present, input will be assumed to come from the stdin.
  1030. X***************
  1031. X*** 16,23
  1032. X  if not presented, will be the stdout.
  1033. X  If the 
  1034. X  .I input_file 
  1035. X! is not presented, input will be assumed to come from the stdin.
  1036. X! The output from f2p can be edited to change font sizes/types.
  1037. X  .PP
  1038. X  The unit of
  1039. X  .I font_size
  1040. X
  1041. X--- 17,23 -----
  1042. X  if not present, will be the stdout.
  1043. X  If the 
  1044. X  .I input_file 
  1045. X! is not present, input will be assumed to come from the stdin.
  1046. X  .PP
  1047. X  The fonts used for text objects are converted from their LaserWriter
  1048. X  names (as selected when using fig) to site-specific
  1049. X***************
  1050. X*** 19,31
  1051. X  is not presented, input will be assumed to come from the stdin.
  1052. X  The output from f2p can be edited to change font sizes/types.
  1053. X  .PP
  1054. X! The unit of
  1055. X! .I font_size
  1056. X! is point.  There are 72 points in an inch. 
  1057. X! The upper limit of font_size is 300 points (about 4 inches).
  1058. X! The default size is 11 points.
  1059. X! The position of text on the hard copy is depended on the specified
  1060. X! font size.
  1061. X  .SH "SEE ALSO"
  1062. X  fig(1),
  1063. X  pic(1).
  1064. X
  1065. X--- 19,41 -----
  1066. X  .I input_file 
  1067. X  is not present, input will be assumed to come from the stdin.
  1068. X  .PP
  1069. X! The fonts used for text objects are converted from their LaserWriter
  1070. X! names (as selected when using fig) to site-specific
  1071. X! troff 2-letter font names using
  1072. X! information in the file /usr/lib/X11/troff/troff_ft_codes,
  1073. X! or a file named using the optional
  1074. X! .B \-f
  1075. X! argument.
  1076. X! If a file named with this option is not found in the working directory
  1077. X! it will be sought in /usr/lib/X11/troff.
  1078. X! .SH BUGS
  1079. X! Filling of closed objects is ignored.
  1080. X! It would be possible to generate
  1081. X! .I pic
  1082. X! instructions to produce some form of filling in
  1083. X! .I f2p,
  1084. X! but the filling feature really needs to be added to
  1085. X! .I pic.
  1086. X  .SH "SEE ALSO"
  1087. X  xfig(1),
  1088. X  pic(1),
  1089. X***************
  1090. X*** 27,34
  1091. X  The position of text on the hard copy is depended on the specified
  1092. X  font size.
  1093. X  .SH "SEE ALSO"
  1094. X! fig(1),
  1095. X! pic(1).
  1096. X  .SH AUTHOR
  1097. X  Supoj Sutanthavibul (supoj@sally.UTEXAS.EDU),
  1098. X  .br
  1099. X
  1100. X--- 37,45 -----
  1101. X  but the filling feature really needs to be added to
  1102. X  .I pic.
  1103. X  .SH "SEE ALSO"
  1104. X! xfig(1),
  1105. X! pic(1),
  1106. X! f2ps(1).
  1107. X  .SH AUTHOR
  1108. X  Supoj Sutanthavibul (supoj@sally.UTEXAS.EDU),
  1109. X  .br
  1110. X***************
  1111. X*** 35,37
  1112. X  University of Texas at Austin, 
  1113. X  .br
  1114. X  January 29, 1985.
  1115. X
  1116. X--- 46,51 -----
  1117. X  University of Texas at Austin, 
  1118. X  .br
  1119. X  January 29, 1985.
  1120. X+ .br
  1121. X+ Modified by daved@physiol.su.oz.au for fig 2.0 (March 1990).
  1122. X+ 
  1123. END_OF_FILE
  1124. if test 4627 -ne `wc -c <'f2p.man.diff'`; then
  1125.     echo shar: \"'f2p.man.diff'\" unpacked with wrong size!
  1126. fi
  1127. # end of 'f2p.man.diff'
  1128. fi
  1129. if test -f 'intspline.c.diff' -a "${1}" != "-c" ; then 
  1130.   echo shar: Will not clobber existing file \"'intspline.c.diff'\"
  1131. else
  1132. echo shar: Extracting \"'intspline.c.diff'\" \(3742 characters\)
  1133. sed "s/^X//" >'intspline.c.diff' <<'END_OF_FILE'
  1134. X*** intspline.c.p5    Tue Jan 16 17:21:06 1990
  1135. X--- intspline.c    Fri Mar 16 14:26:14 1990
  1136. X***************
  1137. X*** 22,28 ****
  1138. X  extern            null_proc();
  1139. X  extern            set_popupmenu();
  1140. X  
  1141. X! extern int        cur_line_style, line_thickness;
  1142. X  extern float        cur_styleval;
  1143. X  extern int        cur_color;
  1144. X  extern int        cur_areafill;
  1145. X--- 22,28 ----
  1146. X  extern            null_proc();
  1147. X  extern            set_popupmenu();
  1148. X  
  1149. X! extern int        line_style, line_thickness;
  1150. X  extern float        cur_styleval;
  1151. X  extern int        cur_color;
  1152. X  extern int        cur_areafill;
  1153. X***************
  1154. X*** 34,41 ****
  1155. X  extern int        autobackwardarrow_mode;
  1156. X  extern F_compound    objects;
  1157. X  extern int        num_point;
  1158. X- extern int        DEBUG;
  1159. X  extern F_point        *first_point, *cur_point;
  1160. X  
  1161. X  int            create_intsplineobject();
  1162. X              init_intspline_drawing();
  1163. X--- 34,41 ----
  1164. X  extern int        autobackwardarrow_mode;
  1165. X  extern F_compound    objects;
  1166. X  extern int        num_point;
  1167. X  extern F_point        *first_point, *cur_point;
  1168. X+ extern appresStruct    appres;
  1169. X  
  1170. X  int            create_intsplineobject();
  1171. X              init_intspline_drawing();
  1172. X***************
  1173. X*** 69,75 ****
  1174. X      draw_elasticline();
  1175. X      if (num_point <= 2) {
  1176. X          pw_vector(canvas_pixwin, first_point->x, first_point->y,
  1177. X!             cur_point->x, cur_point->y, PAINT, 0);
  1178. X          if (num_point == 1) free((char*)cur_point);
  1179. X          free((char*)first_point);
  1180. X          draw_intspline_selected();
  1181. X--- 69,75 ----
  1182. X      draw_elasticline();
  1183. X      if (num_point <= 2) {
  1184. X          pw_vector(canvas_pixwin, first_point->x, first_point->y,
  1185. X!             cur_point->x, cur_point->y, PAINT, 1, SOLID_LINE, 0.0);
  1186. X          if (num_point == 1) free((char*)cur_point);
  1187. X          free((char*)first_point);
  1188. X          draw_intspline_selected();
  1189. X***************
  1190. X*** 81,87 ****
  1191. X          put_msg(Err_mem);
  1192. X          return;
  1193. X          }
  1194. X!     spline->style = cur_line_style;
  1195. X      spline->thickness = line_thickness;
  1196. X      spline->style_val = cur_styleval;
  1197. X      spline->color = cur_color;
  1198. X--- 81,87 ----
  1199. X          put_msg(Err_mem);
  1200. X          return;
  1201. X          }
  1202. X!     spline->style = line_style;
  1203. X      spline->thickness = line_thickness;
  1204. X      spline->style_val = cur_styleval;
  1205. X      spline->color = cur_color;
  1206. X***************
  1207. X*** 114,127 ****
  1208. X          if (autobackwardarrow_mode) spline->back_arrow = backward_arrow();
  1209. X          }
  1210. X      make_control_points(spline);
  1211. X-     pw_batch_on(canvas_pixwin);
  1212. X      draw_intspline(spline, PAINT);
  1213. X!     if (DEBUG) {
  1214. X          int    xmin, ymin, xmax, ymax;
  1215. X          spline_bound(spline, &xmin, &ymin, &xmax, &ymax);
  1216. X!         draw_rectbox(xmin, ymin, xmax, ymax, PAINT, 1);
  1217. X          }
  1218. X-     pw_batch_off(canvas_pixwin);
  1219. X      clean_up();
  1220. X      set_action_object(F_CREATE, O_SPLINE);
  1221. X      insert_spline(&objects.splines, spline);
  1222. X--- 114,125 ----
  1223. X          if (autobackwardarrow_mode) spline->back_arrow = backward_arrow();
  1224. X          }
  1225. X      make_control_points(spline);
  1226. X      draw_intspline(spline, PAINT);
  1227. X!     if (appres.DEBUG) {
  1228. X          int    xmin, ymin, xmax, ymax;
  1229. X          spline_bound(spline, &xmin, &ymin, &xmax, &ymax);
  1230. X!         draw_rectbox(xmin, ymin, xmax, ymax, PAINT);
  1231. X          }
  1232. X      clean_up();
  1233. X      set_action_object(F_CREATE, O_SPLINE);
  1234. X      insert_spline(&objects.splines, spline);
  1235. X***************
  1236. X*** 189,195 ****
  1237. X      for (p2 = p1->next, cp2 = cp1->next; p2 != NULL;
  1238. X          p1 = p2, cp1 = cp2, p2 = p2->next, cp2 = cp2->next) {
  1239. X          bezier_spline((float)p1->x, (float)p1->y, cp1->rx, cp1->ry,
  1240. X!             cp2->lx, cp2->ly, (float)p2->x, (float)p2->y, op, s->thickness);
  1241. X          }
  1242. X      if (s->for_arrow)
  1243. X          draw_arrow(round(cp1->lx), round(cp1->ly), p1->x,
  1244. X--- 187,194 ----
  1245. X      for (p2 = p1->next, cp2 = cp1->next; p2 != NULL;
  1246. X          p1 = p2, cp1 = cp2, p2 = p2->next, cp2 = cp2->next) {
  1247. X          bezier_spline((float)p1->x, (float)p1->y, cp1->rx, cp1->ry,
  1248. X!             cp2->lx, cp2->ly, (float)p2->x, (float)p2->y, op, 
  1249. X!             s->thickness, s->style, s->style_val);
  1250. X          }
  1251. X      if (s->for_arrow)
  1252. X          draw_arrow(round(cp1->lx), round(cp1->ly), p1->x,
  1253. END_OF_FILE
  1254. if test 3742 -ne `wc -c <'intspline.c.diff'`; then
  1255.     echo shar: \"'intspline.c.diff'\" unpacked with wrong size!
  1256. fi
  1257. # end of 'intspline.c.diff'
  1258. fi
  1259. if test -f 'movept.c.diff' -a "${1}" != "-c" ; then 
  1260.   echo shar: Will not clobber existing file \"'movept.c.diff'\"
  1261. else
  1262. echo shar: Extracting \"'movept.c.diff'\" \(4337 characters\)
  1263. sed "s/^X//" >'movept.c.diff' <<'END_OF_FILE'
  1264. X*** movept.c.p5    Tue Jan 16 17:21:07 1990
  1265. X--- movept.c    Fri Mar 16 14:28:38 1990
  1266. X***************
  1267. X*** 209,215 ****
  1268. X      int    dx, dy;
  1269. X  
  1270. X      set_temp_cursor(&wait_cursor);
  1271. X-     pw_batch_on(canvas_pixwin);
  1272. X      if (pointmarker_shown) toggle_ellipsepointmarker(ellipse);
  1273. X      draw_ellipse(ellipse, background_color);
  1274. X      if (point_num == 0) {  /*  starting point is selected  */
  1275. X--- 209,214 ----
  1276. X***************
  1277. X*** 246,252 ****
  1278. X          }
  1279. X      draw_ellipse(ellipse, foreground_color);
  1280. X      if (pointmarker_shown) toggle_ellipsepointmarker(ellipse);
  1281. X-     pw_batch_off(canvas_pixwin);
  1282. X      reset_cursor();
  1283. X      set_modifiedflag();
  1284. X      }
  1285. X--- 245,250 ----
  1286. X***************
  1287. X*** 301,318 ****
  1288. X  {
  1289. X      switch (movedpoint_num) {
  1290. X          case 0 :
  1291. X!         pw_vector(canvas_pixwin, cur_x, cur_y,
  1292. X!             arc->point[1].x, arc->point[1].y, op, 1);
  1293. X          break;
  1294. X          case 1 :
  1295. X          pw_vector(canvas_pixwin, arc->point[0].x, arc->point[0].y,
  1296. X!             cur_x, cur_y, op, 1);
  1297. X          pw_vector(canvas_pixwin, arc->point[2].x, arc->point[2].y,
  1298. X!             cur_x, cur_y, op, 1);
  1299. X          break;
  1300. X          default :
  1301. X          pw_vector(canvas_pixwin, arc->point[2].x, arc->point[2].y,
  1302. X!             cur_x, cur_y, op, 1);
  1303. X          }
  1304. X      }
  1305. X  
  1306. X--- 299,316 ----
  1307. X  {
  1308. X      switch (movedpoint_num) {
  1309. X          case 0 :
  1310. X!         pw_vector(canvas_pixwin, cur_x, cur_y, 
  1311. X!             arc->point[1].x, arc->point[1].y, op, 1, SOLID_LINE, 0.0);
  1312. X          break;
  1313. X          case 1 :
  1314. X          pw_vector(canvas_pixwin, arc->point[0].x, arc->point[0].y,
  1315. X!             cur_x, cur_y, op, 1, SOLID_LINE, 0.0);
  1316. X          pw_vector(canvas_pixwin, arc->point[2].x, arc->point[2].y,
  1317. X!             cur_x, cur_y, op, 1, SOLID_LINE, 0.0);
  1318. X          break;
  1319. X          default :
  1320. X          pw_vector(canvas_pixwin, arc->point[2].x, arc->point[2].y,
  1321. X!             cur_x, cur_y, op, 1, SOLID_LINE, 0.0);
  1322. X          }
  1323. X      }
  1324. X  
  1325. X***************
  1326. X*** 343,349 ****
  1327. X      p[movedpoint_num].y = y;
  1328. X      if (compute_arccenter(p[0], p[1], p[2], &xx, &yy)) {
  1329. X          set_temp_cursor(&wait_cursor);
  1330. X-         pw_batch_on(canvas_pixwin);
  1331. X          if (pointmarker_shown) toggle_arcpointmarker(arc);
  1332. X          draw_arc(arc, background_color);    /* erase old arc */
  1333. X          arc->point[movedpoint_num].x = x;
  1334. X--- 341,346 ----
  1335. X***************
  1336. X*** 353,359 ****
  1337. X          arc->direction = compute_direction(p[0], p[1], p[2]);
  1338. X          draw_arc(arc, foreground_color);    /* draw new arc */
  1339. X          if (pointmarker_shown) toggle_arcpointmarker(arc);
  1340. X-         pw_batch_off(canvas_pixwin);
  1341. X          reset_cursor();
  1342. X          set_modifiedflag();
  1343. X          }
  1344. X--- 350,355 ----
  1345. X***************
  1346. X*** 421,427 ****
  1347. X  F_point        *moved_point;
  1348. X  {
  1349. X      set_temp_cursor(&wait_cursor);
  1350. X-     pw_batch_on(canvas_pixwin);
  1351. X      if (pointmarker_shown) toggle_splinepointmarker(s);  
  1352. X      draw_spline(s, ERASE); /* erase old spline */
  1353. X      moved_point->x = x;
  1354. X--- 417,422 ----
  1355. X***************
  1356. X*** 433,439 ****
  1357. X      if (int_spline(s)) remake_control_points(s);
  1358. X      draw_spline(s, PAINT); /* draw spline with moved point */
  1359. X      if (pointmarker_shown) toggle_splinepointmarker(s);  
  1360. X-     pw_batch_off(canvas_pixwin);
  1361. X      reset_cursor();
  1362. X      set_modifiedflag();
  1363. X      }
  1364. X--- 428,433 ----
  1365. X***************
  1366. X*** 515,521 ****
  1367. X              }
  1368. X          }
  1369. X      if (box_case) {
  1370. X!         draw_rectbox(fix_x, fix_y, cur_x, cur_y, INV_PAINT, 1);
  1371. X          canvas_locmove_proc = elastic_box;
  1372. X          canvas_middlebut_proc = fix_box;
  1373. X          }
  1374. X--- 509,515 ----
  1375. X              }
  1376. X          }
  1377. X      if (box_case) {
  1378. X!         draw_rectbox(fix_x, fix_y, cur_x, cur_y, INV_PAINT);
  1379. X          canvas_locmove_proc = elastic_box;
  1380. X          canvas_middlebut_proc = fix_box;
  1381. X          }
  1382. X***************
  1383. X*** 561,567 ****
  1384. X  fix_box(x, y)
  1385. X  int    x, y;
  1386. X  {
  1387. X!     draw_rectbox(fix_x, fix_y, cur_x, cur_y, INV_PAINT, 1);
  1388. X      new_position.x = x;
  1389. X      new_position.y = y;
  1390. X      clean_up();
  1391. X--- 555,561 ----
  1392. X  fix_box(x, y)
  1393. X  int    x, y;
  1394. X  {
  1395. X!     draw_rectbox(fix_x, fix_y, cur_x, cur_y, INV_PAINT);
  1396. X      new_position.x = x;
  1397. X      new_position.y = y;
  1398. X      clean_up();
  1399. X***************
  1400. X*** 659,668 ****
  1401. X  
  1402. X      if (left_point != NULL) {
  1403. X          pw_vector(canvas_pixwin, left_point->x, left_point->y,
  1404. X!             cur_x, cur_y, op, 1);
  1405. X          }
  1406. X      if ((p = moved_point->next) != NULL) {
  1407. X!         pw_vector(canvas_pixwin, p->x, p->y, cur_x, cur_y, op, 1);
  1408. X          }
  1409. X      }
  1410. X  
  1411. X--- 653,662 ----
  1412. X  
  1413. X      if (left_point != NULL) {
  1414. X          pw_vector(canvas_pixwin, left_point->x, left_point->y,
  1415. X!             cur_x, cur_y, op, 1, SOLID_LINE, 0.0);
  1416. X          }
  1417. X      if ((p = moved_point->next) != NULL) {
  1418. X!         pw_vector(canvas_pixwin, p->x, p->y, cur_x, cur_y, op, 1, SOLID_LINE, 0.0);
  1419. X          }
  1420. X      }
  1421. X  
  1422. END_OF_FILE
  1423. if test 4337 -ne `wc -c <'movept.c.diff'`; then
  1424.     echo shar: \"'movept.c.diff'\" unpacked with wrong size!
  1425. fi
  1426. # end of 'movept.c.diff'
  1427. fi
  1428. if test -f 'undo.c.diff' -a "${1}" != "-c" ; then 
  1429.   echo shar: Will not clobber existing file \"'undo.c.diff'\"
  1430. else
  1431. echo shar: Extracting \"'undo.c.diff'\" \(4893 characters\)
  1432. sed "s/^X//" >'undo.c.diff' <<'END_OF_FILE'
  1433. X*** undo.c.p5    Tue Jan 16 17:21:09 1990
  1434. X--- undo.c    Sat Mar 17 13:35:51 1990
  1435. X***************
  1436. X*** 219,231 ****
  1437. X          case O_ELLIPSE :
  1438. X          if (pointmarker_shown)
  1439. X              toggle_ellipsepointmarker(saved_objects.ellipses);
  1440. X-         pw_batch_on(canvas_pixwin);
  1441. X          draw_ellipse(saved_objects.ellipses, background_color);
  1442. X          flip_ellipse(saved_objects.ellipses, 
  1443. X              last_position.x, last_position.y,
  1444. X              last_axis);
  1445. X          draw_ellipse(saved_objects.ellipses, foreground_color);
  1446. X-         pw_batch_off(canvas_pixwin);
  1447. X          if (pointmarker_shown)
  1448. X              toggle_ellipsepointmarker(saved_objects.ellipses);
  1449. X          break;
  1450. X--- 219,229 ----
  1451. X***************
  1452. X*** 232,244 ****
  1453. X          case O_SPLINE :
  1454. X          if (pointmarker_shown)
  1455. X              toggle_splinepointmarker(saved_objects.splines);
  1456. X-         pw_batch_on(canvas_pixwin);
  1457. X          draw_spline(saved_objects.splines, ERASE);
  1458. X          flip_spline(saved_objects.splines,
  1459. X              last_position.x, last_position.y,
  1460. X              last_axis);
  1461. X          draw_spline(saved_objects.splines, PAINT);
  1462. X-         pw_batch_off(canvas_pixwin);
  1463. X          if (pointmarker_shown)
  1464. X              toggle_splinepointmarker(saved_objects.splines);
  1465. X          break;
  1466. X--- 230,240 ----
  1467. X***************
  1468. X*** 245,257 ****
  1469. X          case O_ARC :
  1470. X          if (pointmarker_shown)
  1471. X              toggle_arcpointmarker(saved_objects.arcs);
  1472. X-         pw_batch_on(canvas_pixwin);
  1473. X          draw_arc(saved_objects.arcs, background_color);
  1474. X          flip_arc(saved_objects.arcs, 
  1475. X              last_position.x, last_position.y,
  1476. X              last_axis);
  1477. X          draw_arc(saved_objects.arcs, foreground_color);
  1478. X-         pw_batch_off(canvas_pixwin);
  1479. X          if (pointmarker_shown)
  1480. X              toggle_arcpointmarker(saved_objects.arcs);
  1481. X          break;
  1482. X--- 241,251 ----
  1483. X***************
  1484. X*** 288,298 ****
  1485. X          case O_ELLIPSE :
  1486. X          if (pointmarker_shown)
  1487. X              toggle_ellipsepointmarker(saved_objects.ellipses);
  1488. X-         pw_batch_on(canvas_pixwin);
  1489. X          draw_ellipse(saved_objects.ellipses, background_color);
  1490. X          translate_ellipse(saved_objects.ellipses, dx, dy);
  1491. X          draw_ellipse(saved_objects.ellipses, foreground_color);
  1492. X-         pw_batch_off(canvas_pixwin);
  1493. X          if (pointmarker_shown)
  1494. X              toggle_ellipsepointmarker(saved_objects.ellipses);
  1495. X          break;
  1496. X--- 282,290 ----
  1497. X***************
  1498. X*** 304,314 ****
  1499. X          case O_SPLINE :
  1500. X          if (pointmarker_shown)
  1501. X              toggle_splinepointmarker(saved_objects.splines);
  1502. X-         pw_batch_on(canvas_pixwin);
  1503. X          draw_spline(saved_objects.splines, ERASE);
  1504. X          translate_spline(saved_objects.splines, dx, dy);
  1505. X          draw_spline(saved_objects.splines, PAINT);
  1506. X-         pw_batch_off(canvas_pixwin);
  1507. X          if (pointmarker_shown)
  1508. X              toggle_splinepointmarker(saved_objects.splines);
  1509. X          break;
  1510. X--- 296,304 ----
  1511. X***************
  1512. X*** 315,325 ****
  1513. X          case O_ARC :
  1514. X          if (pointmarker_shown)
  1515. X              toggle_arcpointmarker(saved_objects.arcs);
  1516. X-         pw_batch_on(canvas_pixwin);
  1517. X          draw_arc(saved_objects.arcs, background_color);
  1518. X          translate_arc(saved_objects.arcs, dx, dy);
  1519. X          draw_arc(saved_objects.arcs, foreground_color);
  1520. X-         pw_batch_off(canvas_pixwin);
  1521. X          if (pointmarker_shown)
  1522. X              toggle_arcpointmarker(saved_objects.arcs);
  1523. X          break;
  1524. X--- 305,313 ----
  1525. X***************
  1526. X*** 381,387 ****
  1527. X          case O_ELLIPSE :
  1528. X          if (pointmarker_shown)
  1529. X              toggle_ellipsepointmarker(saved_objects.ellipses);
  1530. X-         pw_batch_on(canvas_pixwin);
  1531. X          draw_ellipse(saved_objects.ellipses, background_color);
  1532. X          if (last_rotateangle == 90) last_rotateangle = 270;
  1533. X          else last_rotateangle = 90;
  1534. X--- 369,374 ----
  1535. X***************
  1536. X*** 389,395 ****
  1537. X              last_position.x, last_position.y,
  1538. X              last_rotateangle);
  1539. X          draw_ellipse(saved_objects.ellipses, foreground_color);
  1540. X-         pw_batch_off(canvas_pixwin);
  1541. X          if (pointmarker_shown)
  1542. X              toggle_ellipsepointmarker(saved_objects.ellipses);
  1543. X          break;
  1544. X--- 376,381 ----
  1545. X***************
  1546. X*** 396,402 ****
  1547. X          case O_SPLINE :
  1548. X          if (pointmarker_shown)
  1549. X              toggle_splinepointmarker(saved_objects.splines);
  1550. X-         pw_batch_on(canvas_pixwin);
  1551. X          draw_spline(saved_objects.splines, ERASE);
  1552. X          if (last_rotateangle == 90) last_rotateangle = 270;
  1553. X          else last_rotateangle = 90;
  1554. X--- 382,387 ----
  1555. X***************
  1556. X*** 404,410 ****
  1557. X              last_position.x, last_position.y,
  1558. X              last_rotateangle);
  1559. X          draw_spline(saved_objects.splines, PAINT);
  1560. X-         pw_batch_off(canvas_pixwin);
  1561. X          if (pointmarker_shown)
  1562. X              toggle_splinepointmarker(saved_objects.splines);
  1563. X          break;
  1564. X--- 389,394 ----
  1565. X***************
  1566. X*** 411,417 ****
  1567. X          case O_ARC :
  1568. X          if (pointmarker_shown)
  1569. X              toggle_arcpointmarker(saved_objects.arcs);
  1570. X-         pw_batch_on(canvas_pixwin);
  1571. X          draw_arc(saved_objects.arcs, background_color);
  1572. X          if (last_rotateangle == 90) last_rotateangle = 270;
  1573. X          else last_rotateangle = 90;
  1574. X--- 395,400 ----
  1575. X***************
  1576. X*** 419,425 ****
  1577. X              last_position.x, last_position.y,
  1578. X              last_rotateangle);
  1579. X          draw_arc(saved_objects.arcs, foreground_color);
  1580. X-         pw_batch_off(canvas_pixwin);
  1581. X          if (pointmarker_shown)
  1582. X              toggle_arcpointmarker(saved_objects.arcs);
  1583. X          break;
  1584. X--- 402,407 ----
  1585. END_OF_FILE
  1586. if test 4893 -ne `wc -c <'undo.c.diff'`; then
  1587.     echo shar: \"'undo.c.diff'\" unpacked with wrong size!
  1588. fi
  1589. # end of 'undo.c.diff'
  1590. fi
  1591. if test -f 'xfig.man.diff' -a "${1}" != "-c" ; then 
  1592.   echo shar: Will not clobber existing file \"'xfig.man.diff'\"
  1593. else
  1594. echo shar: Extracting \"'xfig.man.diff'\" \(4539 characters\)
  1595. sed "s/^X//" >'xfig.man.diff' <<'END_OF_FILE'
  1596. X*** xfig.man.p5    Tue Mar 13 17:11:10 1990
  1597. X--- xfig.man    Tue Mar 27 16:09:24 1990
  1598. X***************
  1599. X*** 7,14
  1600. X  [ \fB-le[ft]\fP ]
  1601. X  [ \fB-L[andscape]\fP ]
  1602. X  [ \fB-P[ortrait]\fP ]
  1603. X! [ \fB-w[idth]\fP \fIunits\fP ]
  1604. X! [ \fB-h[eight]\fP \fIunits\fP ]
  1605. X  [ \fB-not[rack]\fP ]
  1606. X  [ \fB-tr[ack]\fP ]
  1607. X  [ \fB-inc[hes]\fP ]
  1608. X
  1609. X--- 7,14 -----
  1610. X  [ \fB-le[ft]\fP ]
  1611. X  [ \fB-L[andscape]\fP ]
  1612. X  [ \fB-P[ortrait]\fP ]
  1613. X! [ \fB-pw[idth]\fP \fIunits\fP ]
  1614. X! [ \fB-ph[eight]\fP \fIunits\fP ]
  1615. X  [ \fB-not[rack]\fP ]
  1616. X  [ \fB-tr[ack]\fP ]
  1617. X  [ \fB-inc[hes]\fP ]
  1618. X***************
  1619. X*** 90,96
  1620. X  .B \-P
  1621. X  Make \fIxfig\fP come up in portrait mode (7.5" x 10").
  1622. X  .TP
  1623. X! \fB-w\fP \fIunits\fP
  1624. X  Make \fIxfig\fP come up \fIunits\fP wide (where units are either cm or in).
  1625. X  .TP
  1626. X  \fB-h\fP \fIunits\fP
  1627. X
  1628. X--- 90,96 -----
  1629. X  .B \-P
  1630. X  Make \fIxfig\fP come up in portrait mode (7.5" x 10").
  1631. X  .TP
  1632. X! \fB-pw\fP \fIunits\fP
  1633. X  Make \fIxfig\fP come up \fIunits\fP wide (where units are either cm or in).
  1634. X  .TP
  1635. X  \fB-ph\fP \fIunits\fP
  1636. X***************
  1637. X*** 93,99
  1638. X  \fB-w\fP \fIunits\fP
  1639. X  Make \fIxfig\fP come up \fIunits\fP wide (where units are either cm or in).
  1640. X  .TP
  1641. X! \fB-h\fP \fIunits\fP
  1642. X  Make \fIxfig\fP come up \fIunits\fP high (where units are either cm or in).
  1643. X  .TP
  1644. X  \fB-tr\fP
  1645. X
  1646. X--- 93,99 -----
  1647. X  \fB-pw\fP \fIunits\fP
  1648. X  Make \fIxfig\fP come up \fIunits\fP wide (where units are either cm or in).
  1649. X  .TP
  1650. X! \fB-ph\fP \fIunits\fP
  1651. X  Make \fIxfig\fP come up \fIunits\fP high (where units are either cm or in).
  1652. X  .TP
  1653. X  \fB-tr\fP
  1654. X***************
  1655. X*** 181,187
  1656. X  shown on the canvas.
  1657. X  (The user will be asked for a file name.)
  1658. X  .TP
  1659. X! .I Save as ...
  1660. X  Save objects on the screen into a file specified by the user.
  1661. X  (The user will be asked for a file name.)
  1662. X  .TP
  1663. X
  1664. X--- 181,187 -----
  1665. X  shown on the canvas.
  1666. X  (The user will be asked for a file name.)
  1667. X  .TP
  1668. X! .I Save in ...
  1669. X  Save objects on the screen into a file specified by the user.
  1670. X  (The user will be asked for a file name.)
  1671. X  If there is no current file name, it will be set to the name specified
  1672. X***************
  1673. X*** 184,189
  1674. X  .I Save as ...
  1675. X  Save objects on the screen into a file specified by the user.
  1676. X  (The user will be asked for a file name.)
  1677. X  .TP
  1678. X  .I Status
  1679. X  Show the name of the current file and directory.
  1680. X
  1681. X--- 184,191 -----
  1682. X  .I Save in ...
  1683. X  Save objects on the screen into a file specified by the user.
  1684. X  (The user will be asked for a file name.)
  1685. X+ If there is no current file name, it will be set to the name specified
  1686. X+ in the save.
  1687. X  .TP
  1688. X  .I Status
  1689. X  Show the name of the current file and directory.
  1690. X***************
  1691. X*** 479,486
  1692. X  landscape
  1693. X  (boolean:true) -Landscape and -Portrait arguments
  1694. X  .TP
  1695. X! width
  1696. X! (integer:7.5 or 10 inches) -width argument
  1697. X  .TP
  1698. X  height
  1699. X  (integer:10 or 7.5 inches) -height argument
  1700. X
  1701. X--- 481,488 -----
  1702. X  landscape
  1703. X  (boolean:true) -Landscape and -Portrait arguments
  1704. X  .TP
  1705. X! pwidth
  1706. X! (integer:7.5 or 10 inches) -pwidth argument
  1707. X  .TP
  1708. X  pheight
  1709. X  (integer:10 or 7.5 inches) -pheight argument
  1710. X***************
  1711. X*** 482,489
  1712. X  width
  1713. X  (integer:7.5 or 10 inches) -width argument
  1714. X  .TP
  1715. X! height
  1716. X! (integer:10 or 7.5 inches) -height argument
  1717. X  .TP
  1718. X  trackCursor
  1719. X  (boolean:on) -track and -notrack arguments
  1720. X
  1721. X--- 484,491 -----
  1722. X  pwidth
  1723. X  (integer:7.5 or 10 inches) -pwidth argument
  1724. X  .TP
  1725. X! pheight
  1726. X! (integer:10 or 7.5 inches) -pheight argument
  1727. X  .TP
  1728. X  trackCursor
  1729. X  (boolean:on) -track and -notrack arguments
  1730. X***************
  1731. X*** 509,515
  1732. X  form(Form)
  1733. X  .TP
  1734. X  side panel
  1735. X! form.panel(Form.Box)
  1736. X  .TP
  1737. X  bottom panel
  1738. X  form.bottom_panel(Form.Box)
  1739. X
  1740. X--- 511,517 -----
  1741. X  form(Form)
  1742. X  .TP
  1743. X  side panel
  1744. X! form.side_panel(Form.Box)
  1745. X  .TP
  1746. X  bottom panel
  1747. X  form.bottom_panel(Form.Box)
  1748. X***************
  1749. X*** 514,521
  1750. X  bottom panel
  1751. X  form.bottom_panel(Form.Box)
  1752. X  .TP
  1753. X! icons
  1754. X! form.panel.button(Form.Box.Command)
  1755. X  form.bottom_panel.button(Form.Box.Command)
  1756. X  .TP
  1757. X  top ruler
  1758. X
  1759. X--- 516,523 -----
  1760. X  bottom panel
  1761. X  form.bottom_panel(Form.Box)
  1762. X  .TP
  1763. X! buttons
  1764. X! form.side_panel.button(Form.Box.Command)
  1765. X  form.bottom_panel.button(Form.Box.Command)
  1766. X  .TP
  1767. X  top ruler
  1768. X***************
  1769. X*** 572,579
  1770. X  .I grids
  1771. X  is on may appear ragged. This can be corrected by selecting \fIRedisplay\fP
  1772. X  from the pop-up menu.
  1773. X- .PP
  1774. X- The X11 cursors are not the original ones but chosen from X11's cursor font.
  1775. X  .SH "SEE ALSO"
  1776. X  Brian W. Kernighan
  1777. X  .I "PIC - A Graphics Language for Typesetting User Manual"
  1778. X
  1779. X--- 574,579 -----
  1780. X  .I grids
  1781. X  is on may appear ragged. This can be corrected by selecting \fIRedisplay\fP
  1782. X  from the pop-up menu.
  1783. X  .SH "SEE ALSO"
  1784. X  Brian W. Kernighan
  1785. X  .I "PIC - A Graphics Language for Typesetting User Manual"
  1786. END_OF_FILE
  1787. if test 4539 -ne `wc -c <'xfig.man.diff'`; then
  1788.     echo shar: \"'xfig.man.diff'\" unpacked with wrong size!
  1789. fi
  1790. # end of 'xfig.man.diff'
  1791. fi
  1792. echo shar: End of archive 2 \(of 7\).
  1793. cp /dev/null ark2isdone
  1794. MISSING=""
  1795. for I in 1 2 3 4 5 6 7 ; do
  1796.     if test ! -f ark${I}isdone ; then
  1797.     MISSING="${MISSING} ${I}"
  1798.     fi
  1799. done
  1800. if test "${MISSING}" = "" ; then
  1801.     echo You have unpacked all 7 archives.
  1802.     rm -f ark[1-9]isdone
  1803. else
  1804.     echo You still need to unpack the following archives:
  1805.     echo "        " ${MISSING}
  1806. fi
  1807. ##  End of shell archive.
  1808. exit 0
  1809.  
  1810. dan
  1811. -----------------------------------------------------------
  1812.             O'Reilly && Associates
  1813.         argv@sun.com / argv@ora.com
  1814.        632 Petaluma Ave, Sebastopol, CA 95472 
  1815.      800-338-NUTS, in CA: 800-533-NUTS, FAX 707-829-0104
  1816.     Opinions expressed reflect those of the author only.
  1817.